<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>疫情实时数据</title>
    <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.css}">
</head>
<body>

<div class="container">
    <h1>国内疫情数据如下：</h1>
    <table class="table table-bordered table-hover">
        <thead>
            <th>地区</th>
            <th>当前确诊</th>
            <th>累计确诊</th>
            <th>治愈</th>
            <th>死亡</th>
        </thead>
        <tbody>
            <tr th:each="data:${dataList}">
                <td th:text="${data.name}">name</td>
                <td th:text="${data.nowConfirm}">nowConfirm</td>
                <td th:text="${data.confirm}">confirm</td>
                <td th:text="${data.heal}">heal</td>
                <td th:text="${data.dead}">dead</td>
            </tr>
        </tbody>
    </table>
</div>

</body>
</html>